package com.triones.api.entity.interlace.bo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class InterlaceBudgetBO {

    private Long id;

    /**
     * 名称
     */
    @NotBlank(message = "预算组名称不能为空")
    private String name;

    /**
     * 预算
     */
    @NotNull(message = "预算不能为空")
    private BigDecimal cost;
}
